package com.significantfiles.snapshot.engine.structure;

import java.math.BigInteger;

public class BigIntegerEntityId implements IEntityId {

	private BigInteger id;
	
	public BigIntegerEntityId( final BigInteger id ) {
		if( id == null ) throw new NullPointerException();
		
		this.id = id;
	}
	
	public BigInteger getId() {
		return id;
	}

	@Override
	public String getIdString() {
		return id.toString();
	} 
	
}
